跳到主要内容

choco 使用

使用管理员权限模式打开Powdershell,粘贴下方安装代码,稍等片刻即可安装成功。

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

如果下载软件太慢了,可以挂代理

choco install xxx --proxy=127.0.0.1:10809